//
//  DateUtil.h
//  FreeTime
//
//  Created by  on 16/8/29.
//  Copyright © 2016年 SRDZ.com. All rights reserved.
//

#import <Foundation/Foundation.h>

#define DATE_TIME_FORMAT @"yyyy-MM-dd HH:mm:ss"
#define DATE_TIME_FORMAT_JIE @"yyyy-MM-dd HH:mm"
#define DATE_FORMAT @"yyyy-MM-dd"
#define TIME_FORMAT @"HH:mm:ss"
#define DATE_NO_FORMAT @"yyyyMMddHHmmss"

@interface DateUtil : NSObject
//通过NSCalendar类来创建日期
+(NSDate*)creatDateWithYear:(NSString *)year month:(NSString *)month day:(NSString *)day;

//日期格式的Format
+ (NSDateFormatter*)formatDate;
@end
